package com.bd.scm.domain.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 查询用户列表条件
 * User: _Cps
 * Date: 2019.08.30 14:48
 */
@Data
@ApiModel(value = "员工信息查询条件")
public class UserDto {

    @ApiModelProperty( value = "分页当前页码", dataType = "Integer", position = 1, required = false, example = "1")
    private Long current;

    @ApiModelProperty( value = "分页每页显示记录数", dataType = "Integer", position = 2, required = false, example = "100")
    private  Long pageSize;

    @ApiModelProperty( value = "部门ID，多个部门用逗号隔开", dataType = "String", position = 4, required = false, example = "20003020,20203030")
    private String deptSerial;

    @ApiModelProperty( value = "搜索内容，工号、姓名、部门", dataType = "String", position = 3, required = false, example = "生产部")
    private String searchName;

    @ApiModelProperty( value = "员工ID，多个员工用逗号隔开", dataType = "String", position = 5, required = false, example = "20003020,20203030")
    private String userIds;

    @ApiModelProperty( value = "ip地址", dataType = "String", position = 6, required = false, example = "127.0.0.1")
    private String ip;

    @ApiModelProperty( value = "要排除的员工ID列表", dataType = "List", position = 7, required = false)
    private List<Long> excludeUserIds;
}
